package com.czl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@Controller
public class KnownHuOneApplication {

	public static void main(String[] args) {
		SpringApplication.run(KnownHuOneApplication.class, args);
	}
	
	@GetMapping("/hello")
	@ResponseBody
	public String hello() {
		return "<h1>春风又绿江南岸<h1>";
	}
}
